package com.dhsc.controller.kbpzgl.wdpzsq;

import com.dhsc.domain.ywzx.kbpzgl.WdlysqlrVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywzj.wdpzsq.IWdlysqlrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 网点领用申请录入
 * @date 2024/4/24 10:44
 */
@Controller
@RequestMapping("/kbpzgl/wdpzsq")
public class WdlysqlrController {

    @Autowired
    private IWdlysqlrService pzlxwhService;

    /**
     * @Description:查询网点领用申请录入
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/4/24 10:47
     * @param w:
     */
    @RequestMapping("/queryWdlysqlr")
    @ResponseBody
    public LayuiTableVo queryWdlysqlr(WdlysqlrVo w){
        return pzlxwhService.queryWdlysqlr(w);
    }

    /**
     * @Description:查询凭证管理联系人信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/24 10:48
     * @param w:
     */
    @RequestMapping("/queryPzgllxrxx")
    @ResponseBody
    public ResponseObject queryPzgllxrxx(WdlysqlrVo w){
        return pzlxwhService.queryPzgllxrxx(w);
    }

    /**
     * @Description:保存网点领用申请录入信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/24 14:23
     * @param w:
     */
    @RequestMapping("/saveWdlysqlrxx")
    @ResponseBody
    public ResponseObject saveWdlysqlrxx(WdlysqlrVo w){
        return pzlxwhService.saveWdlysqlrxx(w);
    }

    /**
     * @Description:查询网点领用申请录入编辑信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/26 10:20
     * @param w:
     */
    @RequestMapping("/queryWdlysqlrBjxx")
    @ResponseBody
    public LayuiTableVo queryWdlysqlrBjxx(WdlysqlrVo w){
        return pzlxwhService.queryWdlysqlrBjxx(w);
    }

    /**
     * @Description:修改申请数量
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/29 9:24
     * @param w:
     */
    @RequestMapping("/updateSqsl")
    @ResponseBody
    public ResponseObject updateSqsl(WdlysqlrVo w){
        return pzlxwhService.updateSqsl(w);
    }

    /**
     * @Description:保存网点领用信息流程信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/29 16:26
     * @param w:
     */
    @RequestMapping("/saveWdlysqlrLcxx")
    @ResponseBody
    public ResponseObject saveWdlysqlrLcxx(WdlysqlrVo w){
        return pzlxwhService.saveWdlysqlrLcxx(w);
    }

    /**
     * @Description:删除申请单信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/30 9:14
     * @param w:
     */
    @RequestMapping("/deleteWdlysqlr")
    @ResponseBody
    public ResponseObject deleteWdlysqlr(WdlysqlrVo w){
        return pzlxwhService.deleteWdlysqlr(w);
    }

    /**
     * @Description:撤回申请单信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/30 9:14
     * @param w:
     */
    @RequestMapping("/chsqdWdlysqlr")
    @ResponseBody
    public ResponseObject chsqdWdlysqlr(WdlysqlrVo w){
        return pzlxwhService.chsqdWdlysqlr(w);
    }

    /**
     * @Description:查询网点领用管理信息
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/4/30 14:37
     * @param w:
     */
    @RequestMapping("/queryWdlyglinfo")
    @ResponseBody
    public LayuiTableVo queryWdlyglinfo(WdlysqlrVo w){
        return pzlxwhService.queryWdlyglinfo(w);
    }

    /**
     * @Description:查询记录状态
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/30 14:37
     * @param w:
     */
    @RequestMapping("/queryJlzt")
    @ResponseBody
    public ResponseObject queryJlzt(WdlysqlrVo w){
        return pzlxwhService.queryJlzt(w);
    }

    /**
     * @Description:修改入库数量或者备注
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/5/23 13:26
     * @param w:
     */
    @RequestMapping("/updateRksjOrBz")
    @ResponseBody
    public ResponseObject updateRksjOrBz(WdlysqlrVo w){
        return pzlxwhService.updateRksjOrBz(w);
    }

    /**
     * @Description:申请单入库
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/5/23 15:22
     * @param w:
     */
    @RequestMapping("/saveSqdrk")
    @ResponseBody
    public ResponseObject saveSqdrk(WdlysqlrVo w){
        return pzlxwhService.saveSqdrk(w);
    }

    /**
     * @Description:撤回申请单
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/5/23 15:22
     * @param w:
     */
    @RequestMapping("/updateSqdzt")
    @ResponseBody
    public ResponseObject updateSqdzt(WdlysqlrVo w){
        return pzlxwhService.updateSqdzt(w);
    }


    /**
     * @Description:查询网点申请领用数据
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/5/23 16:13
     * @param w:
     */
    @RequestMapping("/queryExportWdlygl")
    @ResponseBody
    public ResponseObject queryExportWdlygl(WdlysqlrVo w){
        return pzlxwhService.queryExportWdlygl(w);
    }

    /**
     * @Description:修改记录状态
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/5/24 9:59
     * @param w:
     */
    @RequestMapping("/updateJLzt")
    @ResponseBody
    public ResponseObject updateJLzt(WdlysqlrVo w){
        return pzlxwhService.updateJLzt(w);
    }

}
